package com.eduadmin.mapper;

import com.eduadmin.entity.Statistics;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface StatisticsMapper {
    //获取所以
    List<Statistics> getAllStatistics();

    int insertStatistics(List<Statistics> statisticsList);

    //zlc 根据表名称查询统计名称
    String getStatisticsNameByParam(String statisticsTableName);

    //hgm 获取Statistics 对象
    Statistics selectStatistics(Statistics statistics);


//    int deleteByPrimaryKey(Integer statisticsNameId);

//    int insertSelective(Statistics record);

//    Statistics selectByPrimaryKey(Integer statisticsNameId);

//    int updateByPrimaryKeySelective(Statistics record);

//    int updateByPrimaryKey(Statistics record);
    // 返回t_statistics表中的所有记录
}
